<template>
	<view >
		<u-modal :show="show" :title="title" :content='content' :showCancelButton="true" @confirm="dsa" @cancel="asd"></u-modal>
		<u-button @click="show = true">打开</u-button>
	</view>
</template>

<script>
export default {
	data() {
		return {
			showCancelButton:false,
			show:false,
			title:'是否退出登录',
			content:''
		};
	},
	methods:{
		asd(){
			this.show=false
		},
		dsa(){
			this.show=false
		}
	}
};
</script>
